package com.sayice.design.FlyWeight;

public class Rank {
    String information;
    int rank;
    Rank(int rank,String information){
        this.rank=rank;
        this.information=information;
    }
    public Boolean equals(Rank rank){
        if(this.rank==rank.rank)
            return true;
        else
            return false;
    }
}
